<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/2
 * Time: 15:24
 */

namespace app\api\Model;


class UserIncome extends BaseModel
{
    protected $name ="user_income";

    public function user()
    {
        return $this->belongsTo('User','user_id','id');
    }
}